BlueCielo Meridian Project Portal 2012 Configuration Guide | BlueCielo ECM Solutions

You are here: About the Advanced File Management add-on > About CAD application profiles > Specifying the CAD application

Specifying the CAD application

Which CAD application to start and its path on the client computer are configured in the Advanced File Management configuration file named cadref.ini. The file resides in the Windows system folder specified in the WINDIR environmental variable (C:\Windows by default). The settings in cadref.ini on each client computer should be modified with the paths of the CAD applications that are installed on the computer.

The content of cadref.ini looks similar to the following example:

[Options]
onerror=continue
[Tools]
Default="C:\Program Files\AutoCAD 2011\acad.exe"
MECH2011="C:\Program Files\AutoCAD Mechanical 2011\acad.exe" /p \\Profile1\acadmech.arg
ACAD2011="C:\Program Files\AutoCAD 2011\acad.exe" /p \\Profile2\acad2011.arg
.dwg="C:\Program Files\AutoCAD 2011\acad.exe"

When cadref.exe reads cadref.ini to determine which CAD application to start, it looks for three settings in the Tools section in the following order:

  1. The name of the profile specified in run.bat, for example, ACAD2011
  2. The file extension of the drawing to open, for example, .dwg
  3. Default

The value of the first setting found (depending on the onerror setting described below) is used in the command line to open the drawings as described in About CAD application profiles.

The Options section contains directives that control how the CAD applications are executed. For each setting found in the Tools section, cadref.exe searches for the executable that is specified in the first parameter of the setting. The results of the searches are compared against the onerror setting to determine which setting to use.

Note    The other parameters of the settings are not validated, for example, \\Profile1\acad2011.arg.

The following logic is followed depending on the results of the searches for each executable and the possible values of the onerror setting:

Search directives
Matches continue abort ask

   0

Skip

Skip

Skip

   0+

Skip

Error

Prompt

   1

OK

OK

OK

   1+

OK

OK

OK

   2+

Error

Error

Prompt

The Matches column contents mean:

The possible onerror settings are:

The resulting actions mean:

Related concepts

About the Advanced File Management add-on

About CAD application profiles

Related tasks

Configuring the AutoCAD property transfer options

Configuring the Advanced File Management options

Configuring the profile property

Related information

Date and time format parameters


Copyright © 2000-2012 BlueCielo ECM Solutions

www.bluecieloecm.com